package old.bridge;

public class Test {
    public static void main(String[] args) {
        var deskTop = new DeskTop(new Apple());
        System.out.println(deskTop);

        deskTop = new DeskTop(new LianXiang());
        System.out.println(deskTop);

        var tapTop = new LapTop(new Apple());
        System.out.println(tapTop);

        tapTop = new LapTop(new LianXiang());
        System.out.println(tapTop);

    }
}
